package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.Person;
import cn.wolfcode.luowowo.domain.UserInfo;


import java.sql.Savepoint;
import java.util.List;

public interface IPersonService {
    // 获取指定的信息
    Person get(String id);

    void  save(Person person);


    void  update(Person person);


    // 查找全部访问人的信息(取前八个)
    List<UserInfo> findByUserId(String id,String uid);


    List<UserInfo> findByUserIdAll(String owenId);


    Person findByUId(String owenerId);
}
